package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2022/3/24 16:14
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wingroom_furniture_lv_up", desc = "厢房家具等级变更日志", autoSave = true, uploadCk = true)
public class LogWingRoomFurnitureLvUp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "家具id")
    private int furnitureId;
    @FieldTypeAnnotation(desc = "套装类型")
    private int suitType;
    @FieldTypeAnnotation(desc = "品质")
    private int quality;
    @FieldTypeAnnotation(desc = "升级前等级")
    private int beforeLv;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int afterLv;
    @FieldTypeAnnotation(desc = "消耗数量")
    private int costNum;

    public LogWingRoomFurnitureLvUp(long userId, int furnitureId, int suitType, int quality, int beforeLv, int afterLv, int costNum) {
        this.userId = userId;
        this.furnitureId = furnitureId;
        this.suitType = suitType;
        this.quality = quality;
        this.beforeLv = beforeLv;
        this.afterLv = afterLv;
        this.costNum = costNum;
    }

    public long getUserId() {
        return userId;
    }

}
